Class

Event (SUI)

 

Base class for UIEvent.

Encapsulates input event information for an event that propagates through a container and control hierarchy. Implements W3C standard event handling.

QuickLinks

preventDefault, stopPropagation

Properties

PropertyTypeAccessDescription
bubblesBoolean readonlyTrue if the event is of a type that bubbles.
cancelableBoolean readonlyTrue if the default action associated with the event can be canceled with preventDefault().
capturesBoolean readonlyTrue if this event can be captured.
currentTargetBoolean readonlyThe event target object which is currently handling the event. During capturing and bubbling, this is different from the property target.
eventPhaseString readonlyThe current phase of event propagation; one of none, target, capture, bubble.
targetObject readonlyThe event target object for this event.
timeStampDate readonlyThe date and time at which the event occurred.
typeString readonlyThe name of the event that this object represents.
Event types are listed in the JavaScript Tools Guide.

Class

PropertyTypeAccessDescription
AT_TARGETany readonly
BUBBLING_PHASEany readonly
CAPTURING_PHASEany readonly
NOT_DISPATCHINGany readonly

Methods

Instances

void preventDefault ()
Prevents the default action associated with this event from being called.

void stopPropagation ()
Stops the propagation of this event.

Return

Event Events (SUI).createEvent (eventType: String)

Jongware, 25-Nov-2012 v3.0.3iContents :: Index